home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
util
/
edit
/
jed207.lha
/
macros
/
indent
< prev
next >
Wrap
Text File
|
1993-01-09
|
354b
|
28 lines
;
; INDENT
;
; keybindings for Allman-style C indentation,
;
(bind `alt \{'
{
; If you prefer K&R style indents change the next command to
; (move `r' 1)
(split)
(insert `a' ~\{)
(split)
(insert `a' ~\})
(move `u' 1)
(split)
(move `rt' 1)
})
(bind `alt \}'
{
(find `s' `\}')
(find `n')
(move `r' 1)
})